import axios from '@/libs/api.request'

/**
 * 表具表格数据
 * @param  {[type]} params [description]
 * @return {[type]}        [description]
 */
export const tableList = (params) => {
  return axios.request({
    url: '/api/frh/findPage',
    method: 'get',
    params
  })
}

/**
 * 获取用气性质
 * @return {[type]}        [description]
 */
export const meterGasClass = () => {
  return axios.request({
    url: '/api/meterManage/params/getMeterGasClass',
    method: 'get'
  })
}

/**
 * 表格数据修改
 * @param  {[type]} params [description]
 * @return {[type]}        [description]
 */
export const getMeterUnitDetail = (id) => {
  return axios.request({
    url: '/api/meterManage/meyerQuery/getMeterUnitDetail/' + id,
    method: 'get'
  })
}
